package com.own.stu.apm.agent.core.plugin;

public class EnhanceContext {
    /**
     * 是否被增强了
     */
    private boolean isEnhanced = false;

    /**
     * 是否新增了CONTEXT ATTR NAME
     */
    private boolean objectExtended = false;

    public boolean isEnhanced() {
        return isEnhanced;
    }

    public void initializationStageCompleted() {
        isEnhanced = true;
    }

    public boolean isObjectExtended() {
        return objectExtended;
    }

    public void objectExtendedCompleted() {
        this.objectExtended = true;
    }
}
